package com.jinbiao.quasar.util;

import org.noear.redisx.RedisClient;
import org.noear.solon.Solon;

public class RedisUtil{
    //配置如果不能与 client 的字段一一对应，则只能手动构建了
    public static RedisClient client = Solon.cfg().getBean("app.redis", RedisClient.class);
    public static RedisClient getClient(){
        return client;
    }
}
